

module.exports = {
  devServer: {
    proxy: {
      '/': {
        target: 'http://mp.dev.dotflat.cn/',
      }
    },
  }
}


const TransformPages = require('./uni_modules/uni-read-pages')
const {webpack} = new TransformPages()
module.exports = {
	configureWebpack: {
		plugins: [
			new webpack.DefinePlugin({
				ROUTES: webpack.DefinePlugin.runtimeValue(() => {
					const tfPages = new TransformPages({
						includes: ['path', 'name', 'aliasPath']
					});
					return JSON.stringify(tfPages.routes)
				}, true )
			})
		]
	}
}

//xybaby365
//xybaby365-app
//xybaby365

